package com.itchen.hospital.service;

import com.github.pagehelper.PageInfo;
import com.itchen.hospital.pojo.Doctor;
import com.itchen.hospital.pojo.Params;
import org.springframework.stereotype.Service;

import java.text.ParseException;
import java.util.List;

@Service
public interface AppointmentService {
    /**
     * 条件查询
     * @param params
     * @return
     */
    PageInfo<Doctor> search(Params params);

    /**
     * 挂号
     */
    void update(Params params) throws ParseException;
}
